<div ng-controller="FuwuCtrl" ng-init="clearingAction()">
    <ul class="sui-breadcrumb">
        <li>{{'结算'| translate}}</li>
        <li>{{'List'|translate}}</a>
        </li>
        <span class="sui-form sui-form pull-right">
        </span>
    </ul>
    <fxclearing-tab ng-model="chosedClearingStatus" click-tab="getClearingList()"></fxclearing-tab>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'编号'|translate}}</th>
                <th>{{'代理商信息'|translate}}</th>
                <th>{{'提现金额'|translate}}</th>
                <th>{{'提现时间'|translate}}</th>
                <th>{{'状态'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in clearing_list" ng-show="clearing_list.length>0">
                <td>{{list.clearing_id}}</td>
                <td>
                    {{list.user_id}}
                    <!-- <wxinfo ng-model="list.user_id" stye="1"></wxinfo> -->
                </td>
                <td>{{list.withdrawal_amount}}</td>
                <td>{{list.withdrawal_time}}</td>
                <td>
                    <span ng-if="!list.role">
                        <span ng-show="list.status ==1" class="sui-text-info">
                            <button class="sui-btn btn-success" ng-click="shOrder(list.clearing_id)">待审核</button>
                        </span>
                    <span ng-show="list.status ==2" class="sui-text-success">
                            <button class="sui-btn btn-success" ng-click="zfOrder(list.clearing_id)">待支付</button>
                        </span>
                    <span ng-show="list.status ==3" class="sui-text-danger">
                            <button class="sui-btn btn-success">已支付</button>
                        </span>
                    </span>
                    <a href="#/fuwu/clearingdetail?clearing_id={{list.clearing_id}}" class="sui-btn btn-primary">明细</a>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="clearing_count" get-data="getClearingList(pageNo)"></pager>
    <!-- 分页end -->
    <div style="text-align: center;">
        <img style="border: 2px solid;width: 250px;" src="https://img.alicdn.com/imgextra/i4/20841398/TB2yf0EkL2H8KJjy1zkXXXr7pXa-20841398.jpg">
        <h3>你已经是大黄蜂小程序的代理了，微信扫描二维码查看你的返点比例</h3>
    </div>
    <liuyan></liuyan>
</div>